package com.mfy.feign;

import com.mfy.entity.Category;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("admin-category")
public interface CategoryFeignClient {
    @GetMapping("/category/selectById/{id}")
    public Category selectById(@PathVariable int id);
}
